package com.productserver.mapper;

import com.productserver.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author wjn.
 * @Date 2020/11/13 - 16:31.
 */
@Mapper
public interface ProductMapper {
    @Select("select * from product")
    public List<Product> getAll();
}

